import {ReactNode} from "react";

function Son(props: { children: ReactNode }) {
    return <div>this is son, {props.children} </div>
}

function App() {
    return (
        <div>
            <Son>
                <span>this is children</span>
            </Son>
        </div>
    )
}

export default App;
